﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once

#include "IObject.h"
#include "GcmpGuiMainFrameInterface.h"

namespace gcmp
{

    class IPlatformUiRefreshedEventArgs;

    /// \brief 平台Ui刷新事件处理者接口。
    class GCMP_GUI_MAIN_FRAME_INTERFACE_EXPORT IPlatformUiRefreshedEventHandler : public IObject
    {
        DEFINE_CAST_DERIVED(gcmp::IPlatformUiRefreshedEventHandler, gcmp::IObject)

    public:
        /// \brief 事件处理方法。
        ///
        /// \param pArgs 需要处理的事件的参数对象指针。
        virtual void On(IPlatformUiRefreshedEventArgs* pArgs) = 0;
    };

}

